\hypertarget{classCFilter}{
\section{\-C\-Filter \-Class \-Reference}
\label{classCFilter}\index{\-C\-Filter@{\-C\-Filter}}
}


{\ttfamily \#include $<$filter.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCFilter_aa4859f603a610307be3b004262213e41}{\-C\-Filter} ()
\item 
virtual \hyperlink{classCFilter_a646bfaa23858eb871d67915111199c23}{$\sim$\-C\-Filter} ()
\item 
void \hyperlink{classCFilter_ade341014a70499c53924c9f1eb67f24e}{change\-Filters} (unsigned int p\-Min, unsigned int p\-Max, unsigned int p\-Sample\-Rate, unsigned int p\-Fft\-Frame\-Size)
\item 
void \hyperlink{classCFilter_a3728388fd102505190b38b64d1f2f57c}{cut\-Frequencies} (fftw\-\_\-complex $\ast$p\-Fft\-Data, unsigned int p\-Fft\-Frame\-Size)
\item 
unsigned int \hyperlink{classCFilter_a6dfa14df1ce6327f75c3c3d902ae2f51}{get\-Min} ()
\item 
unsigned int \hyperlink{classCFilter_aea68851fed074fac18236f13337ed285}{get\-Max} ()
\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
unsigned int \hyperlink{classCFilter_aeebeea65d165e399690e146444479784}{m\-Min}
\item 
unsigned int \hyperlink{classCFilter_a4a2da21a5dfd9206faa47d15b603dbe3}{m\-Max}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classCFilter_aa4859f603a610307be3b004262213e41}{
\index{\-C\-Filter@{\-C\-Filter}!\-C\-Filter@{\-C\-Filter}}
\index{\-C\-Filter@{\-C\-Filter}!CFilter@{\-C\-Filter}}
\subsubsection[{\-C\-Filter}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Filter\-::\-C\-Filter (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classCFilter_aa4859f603a610307be3b004262213e41}
\hypertarget{classCFilter_a646bfaa23858eb871d67915111199c23}{
\index{\-C\-Filter@{\-C\-Filter}!$\sim$\-C\-Filter@{$\sim$\-C\-Filter}}
\index{$\sim$\-C\-Filter@{$\sim$\-C\-Filter}!CFilter@{\-C\-Filter}}
\subsubsection[{$\sim$\-C\-Filter}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Filter\-::$\sim$\-C\-Filter (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCFilter_a646bfaa23858eb871d67915111199c23}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classCFilter_ade341014a70499c53924c9f1eb67f24e}{
\index{\-C\-Filter@{\-C\-Filter}!change\-Filters@{change\-Filters}}
\index{change\-Filters@{change\-Filters}!CFilter@{\-C\-Filter}}
\subsubsection[{change\-Filters}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Filter\-::change\-Filters (
\begin{DoxyParamCaption}
\item[{unsigned int}]{p\-Min, }
\item[{unsigned int}]{p\-Max, }
\item[{unsigned int}]{p\-Sample\-Rate, }
\item[{unsigned int}]{p\-Fft\-Frame\-Size}
\end{DoxyParamCaption}
)}}
\label{classCFilter_ade341014a70499c53924c9f1eb67f24e}
\-Changes the filter settings.


\begin{DoxyParams}{\-Parameters}
{\em p\-Min} & \-The minimum frequency in \-Hz \\
\hline
{\em p\-Max} & \-The maximum frequency in \-Hz \\
\hline
{\em p\-Sample\-Rate} & \-The sample rate in samples per second \\
\hline
{\em p\-Fft\-Frame\-Size} & \-The \-F\-F\-T frame size \\
\hline
\end{DoxyParams}
\hypertarget{classCFilter_a3728388fd102505190b38b64d1f2f57c}{
\index{\-C\-Filter@{\-C\-Filter}!cut\-Frequencies@{cut\-Frequencies}}
\index{cut\-Frequencies@{cut\-Frequencies}!CFilter@{\-C\-Filter}}
\subsubsection[{cut\-Frequencies}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Filter\-::cut\-Frequencies (
\begin{DoxyParamCaption}
\item[{fftw\-\_\-complex $\ast$}]{p\-Fft\-Data, }
\item[{unsigned int}]{p\-Fft\-Frame\-Size}
\end{DoxyParamCaption}
)}}
\label{classCFilter_a3728388fd102505190b38b64d1f2f57c}
\-Applies the filter with the properties set with \hyperlink{classCFilter_ade341014a70499c53924c9f1eb67f24e}{change\-Filters()}. \-This function cuts all frequencies higher than p\-Max and lower than p\-Min.


\begin{DoxyParams}{\-Parameters}
{\em p\-Fft\-Data} & \-The audio signal to be processed \\
\hline
{\em p\-Fft\-Frame\-Size} & \-The \-F\-F\-T frame size \\
\hline
\end{DoxyParams}
\hypertarget{classCFilter_aea68851fed074fac18236f13337ed285}{
\index{\-C\-Filter@{\-C\-Filter}!get\-Max@{get\-Max}}
\index{get\-Max@{get\-Max}!CFilter@{\-C\-Filter}}
\subsubsection[{get\-Max}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \-C\-Filter\-::get\-Max (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classCFilter_aea68851fed074fac18236f13337ed285}
\-Getter method for the m\-Max member variable. \hypertarget{classCFilter_a6dfa14df1ce6327f75c3c3d902ae2f51}{
\index{\-C\-Filter@{\-C\-Filter}!get\-Min@{get\-Min}}
\index{get\-Min@{get\-Min}!CFilter@{\-C\-Filter}}
\subsubsection[{get\-Min}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int \-C\-Filter\-::get\-Min (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classCFilter_a6dfa14df1ce6327f75c3c3d902ae2f51}
\-Getter method for the m\-Min member variable. 

\subsection{\-Member \-Data \-Documentation}
\hypertarget{classCFilter_a4a2da21a5dfd9206faa47d15b603dbe3}{
\index{\-C\-Filter@{\-C\-Filter}!m\-Max@{m\-Max}}
\index{m\-Max@{m\-Max}!CFilter@{\-C\-Filter}}
\subsubsection[{m\-Max}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-C\-Filter\-::m\-Max}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCFilter_a4a2da21a5dfd9206faa47d15b603dbe3}
\hypertarget{classCFilter_aeebeea65d165e399690e146444479784}{
\index{\-C\-Filter@{\-C\-Filter}!m\-Min@{m\-Min}}
\index{m\-Min@{m\-Min}!CFilter@{\-C\-Filter}}
\subsubsection[{m\-Min}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-C\-Filter\-::m\-Min}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCFilter_aeebeea65d165e399690e146444479784}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{filter_8h}{filter.\-h}\item 
\hyperlink{filter_8cxx}{filter.\-cxx}\end{DoxyCompactItemize}
